<!DOCTYPE html>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/page/core/common/commonvariable.jsp"%>
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="<%=commonLib%>" />
<title>模块信息管理</title>
</head>
<body ng-app="moduleInfoModule" ng-controller="moduleInfoController">	
<jsp:include page="<%=widgetHeader%>"/>

<div class="lay-wrap">
	<div class="lay-left col-xs-1">
			<jsp:include page="<%=widgetLeftBar%>"/>
	</div>
	<div>

</div>

<jsp:include page="<%=widgetAnRightBar%>">
	 <jsp:param name="module1" value="/WEB-INF/views/module/info/module_info_edit.jsp"/>
</jsp:include>

<div class="lay-main col-xs-11" >
<div class="panel panel-default">
	<div class="panel-heading">
		<div class="row">
       		<div class="col-xs-10">
       		    <div class="form-group com-title" >模块信息管理</div>
       		</div>
       	</div>
     </div>
	<div class="panel-heading">
		<div class="row">
				<div class="col-xs-12">
					<form class="form-inline" role="form"   method="post" >
						<div class="form-group">
							<input type="text" class="form-control" ng-model="queryForm.moduleName"  placeholder="模块名称"  />
						</div>
						<div class="form-group">
							<input type="text" class="form-control" ng-model="queryForm.moduleCode"  placeholder="模块编码"  />
						</div>
						
						
						<a href="javascript:void(0);" ng-click="doquery();" class="btn btn-default com-margin-left30">查询</a>
						<a href="javascript:void(0);" ng-click="goAdd();" class="btn btn-default com-margin-left30">新增</a>
					</form>
				</div>
		</div>
	</div>
	<div class="panel-body">
		<div class="row">
			<div class="col-md-12">
				<table class="table">
					<thead>
						<tr>
							<th style="width: 4%">序号</th>
							<th style="width: 12%">模块名称</th>
							<th style="width: 12%">模块代码</th>
							<th style="width: 12%">是否默认</th>
							<th style="width: 16%">操作</th>
						</tr>
					</thead>
					<tbody>
						<tr ng-repeat="info in resultList">
							<td ng-bind="$index + 1"></td>
							<td ng-bind="info.moduleName"></td>
							<td ng-bind="info.moduleCode"></td>
							<td ng-bind="isDefaultOps[info.isDefault]"></td>
							<td>
								<a href="javascript:void(0)" title="编辑" ng-click="goModify($index);" class="com-btn-icon glyphicon glyphicon-edit"></a>
								<a href="javascript:void(0)" title="删除" ng-click="showDelWin($index);" class="com-btn-icon glyphicon glyphicon-remove"></a>
							</td>
						</tr>
					</tbody>
				</table>
				<form role="form" id="moduleInfoQueryForm" method="post" action="<%=actionPath%>/module/info/list">
				<!-- <input type="hidden" id="userName" name="userName" value=""/> -->
				<jsp:include page="<%=widgetAnPagition%>"></jsp:include>
				</form>
			</div>
		</div>
	</div>
	</div>
</div>
<jsp:include page="<%=widgetFooter%>"/>
<!-- content end -->
</div>

<!-- 删除固定资产确认操作Modal -->
<div class="modal fade" id="confirm_del_asset_div" tabindex="-1" role="dialog">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="confirm_del_data_label">提示</h4>
      </div>
      <div class="modal-body">
          <span>您确定删除此数据吗？</span>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
        <button type="button" data-dismiss="modal" class="btn btn-primary" ng-click="doDelAsset()">继续</button>
      </div>
    </div>
  </div>
</div>




<script type="text/javascript" src="<%=pagePath%>/js/moudles/module/info/module_info.js"></script>
<script type="text/javascript" src="<%=pagePath%>/js/common/aninnerpagination.js"></script>
</body>
</html>

